package com.nlp.trie.viterbi;

import java.util.ArrayList;

public class StateList {
	ArrayList<State> list;
	public StateList() {
		list = new ArrayList<State>();
	}
	
	public int size() {
		return list.size();
	}
	
	public void set(int index, State st) {
		list.add(index, st);
	}
	public void add(State st) {
		list.add(st);
	}
	
	public State get(int index) {
		return list.get(index);
	}

}
